package executors.function;

import java.util.function.Supplier;

class User {
}

class BuildFactoryUser implements Supplier<User> {
  @Override
  public User get() {
    return new User();
  }
}

public class Main01 {
  public static void main(String[] args) {
    BuildFactoryUser buildFactoryUser = new BuildFactoryUser();
    System.out.println(buildFactoryUser.get());
  }
}
